package fr.afcepf.atod18.utilitaires.web;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ComponentSystemEvent;

import fr.afcepf.atod18.utilitaires.entity.Admin;
import fr.afcepf.atod18.utilitaires.entity.InfoSession;
import fr.afcepf.atod18.utilitaires.service.IServiceFacade;

@ManagedBean
@SessionScoped
public class AdminMB {
    @ManagedProperty(value = "#{serviceFacade}")
    IServiceFacade serviceFacade;
    
    private InfoSession infoSession;
    private Admin admin;
    
	/**
	 * @return the client
	 */
	
    /**
	 * @return the infoSession
	 */
	public InfoSession getInfoSession() {
		return infoSession;
	}
	public IServiceFacade getServiceFacade() {
		return serviceFacade;
	}
	public void setServiceFacade(IServiceFacade serviceFacade) {
		this.serviceFacade = serviceFacade;
	}
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	/**
	 * @param infoSession the infoSession to set
	 */
	public void setInfoSession(InfoSession infoSession) {
		this.infoSession = infoSession;
	}
	/**
	 * @return the isCreation
	 */

	public void doInit(ComponentSystemEvent event){
	}
	
	public String doSauve(){
		return null;
    	
    }
}
